import { get, post, put, deleteUrl, postUrl } from './index'

import base from './base'

const api = base + 'waic-portal/'
const utility = base + 'waic-utility/'
const solr = base + 'waic-solr/'

export default {
    getZdType: (type) => { 
        return get(utility + '' + type)
    },
    // 获取商品列表
    getProducts: (params) => {
        return get(api + 'products', params)
    }
}
